package com.xbstar.wei.service2;

public class Message {
	/**
	 * 微信服务器发送给我方的xml信息格式种类
	 * @author jwf
	 *
	 */
	public static class MsgType {
		public static String Text="text";
		public static String Image="image";
		public static String Voice="voice";
		public static String Video="video";
		public static String Shortvideo="shortvideo";
		public static String Location="location";
		public static String Link="link";
		public static String Event="event";
		public static String Music="music";
		public static String News="news";
	}


	/**
	 * 有关微信服务器发送给我方的信息内容的格式字段
	 * @author jwf
	 *
	 */
	public static class MsgContent{
		public static String MsgType="MsgType";
		public static String FromUserName="FromUserName";
		public static String ToUserName="ToUserName";
		public static String CreateTime="CreateTime";
		public static String MsgId="MsgId";
		public static String Content="Content";
		public static String PicUrl="PicUrl";
		public static String MediaId="MediaId";
		public static String Format="Format";
		public static String Recognition="Recognition";
		public static String ThumbMediaId="ThumbMediaId";
		public static String Location_X="Location_X";
		public static String Location_Y="Location_Y";
		public static String Scale="Scale";
		public static String Label="Label";
		public static String Title="Title";
		public static String Description="Description";
		public static String Url="Url";
		public static String Articles="Articles";
		public static String HQMusicUrl="HQMusicUrl";
		public static String MusicUrl="MusicUrl";
		public static String Voice="Voice";
		public static String Event="Event";
		public static String EventKey="EventKey";
		public static String Latitude="Latitude";
		public static String Longitude="Longitude";
		public static String Precision="Precision";
		public static String ArticleCount="ArticleCount";
	}
	/**
	 * 有关author2.0基础认证中，微信服务器发送给我方的json格式字符串的关键字名称
	 * @author xbx
	 *
	 */
	public static class Access_Token{
		public static String Expires_in="expires_in";
		public static String Access_token="access_token";
		public static String Refresh_token="refresh_token";
		public static String Openid="openid";
		public static String Scope="scope";
		public static String Unionid="unionid";
		public static String Code="code";
		public static String State="state";
	}
	/**
	 * 微信用户详细信息
	 * @author jiwenfei
	 *
	 */
	public static class WEIUSERINFO{
		public static String OpenId="openid";
		public static String NickName="nickname";
		public static String Province="province";
		public static String HeadImgUrl="headimgurl";
		public static String Privilege="privilege";
		public static String Unionid="unionid";
		public static String City="city";
		public static String Country="country";
		public static String Sex="sex";
	}
	/**
	 * 对菜单点击事件每个按钮的定义
	 * @author jwf
	 *
	 */
	public static class EventKey {
		public static String ChouJiang="V3001_CHOU_JIANG";//抽奖
		public static String XCFJTZZ="V3002_FX_TZZ";//附近投注站
		public static String QianDao="V1001_QIAN_DAO";//签到
		public static String CXFuDou="V3004_FUDOU";//查询福豆
		public static String DengLu="V1002_DENGLU";//登录
		public static String ZhuCe="V1003_ZhuCe";//注册
		public static String CXZHongJIONGJL="V2001_ZJJL";//中奖记录
		//新增最新活动    16/3/14 jwf
		public static String ZXHD="V1001_ZUI_XIN";
		

	}
	/**
	 * 事件种类信息相关的类
	 * @author jwf
	 *
	 */
	public static class EventType {
		public static String Click="CLICK";// 点击事件
		public static String View="VIEW";//进入超链接事件
		public static String Location="LOCATION";//上传地理信息事件
		public static String Scan="SCAN";//用户扫码二维码事件
		public static String Subscribe="subscribe";//用户关注事件
		public static String Unsubscribe="unsubscribe";//用户取消关注事件
	}
	public static class MediaType {
		public static String Image="image";
		public static String Voice="voice";
		public static String Video="video";
		public static String Thumb="thumb";
		public static String News="news";
		
	}
	public static class ZDMSG{
		public static String toUser="touser";
		public static String msgType="msgtype";
		public static String news="news";
		public static String text="text";
		public static String content="content";
		public static String title="title";
		public static String description="description";
		public static String url="url";
		public static String picUrl="picurl";
//		public static String toUser="";
//		public static String toUser="";
//		public static String toUser="";
//		public static String toUser="";
		
		
	}
	

}
